package com.example.mybatis.domain;

import java.util.Date;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;

/**
 * 优惠卷表(SmsCoupon)实体类
 *
 * @author makejava
 * @since 2019-11-09 18:56:46
 */
@Setter
@Getter
public class SmsCoupon implements Serializable {
    private static final long serialVersionUID = -33360826479923789L;
    
    private Long id;
    //优惠卷类型；0->全场赠券；1->会员赠券；2->购物赠券；3->注册赠券
    private Integer type;
    
    private String name;
    //使用平台：0->全部；1->移动；2->PC
    private Integer platform;
    //数量
    private Integer count;
    //金额
    private Double amount;
    //每人限领张数
    private Integer perLimit;
    //使用门槛；0表示无门槛
    private Double minPoint;
    
    private Date startTime;
    
    private Date endTime;
    //使用类型：0->全场通用；1->指定分类；2->指定商品
    private Integer useType;
    //备注
    private String note;
    //发行数量
    private Integer publishCount;
    //已使用数量
    private Integer useCount;
    //领取数量
    private Integer receiveCount;
    //可以领取的日期
    private Date enableTime;
    //优惠码
    private String code;
    //可领取的会员类型：0->无限时
    private Integer memberLevel;

}